package com.niiwoo.civet.trade.service.loan;

import com.niiwoo.civet.trade.dto.common.LoanBusinessInfoDTO;
import com.niiwoo.civet.trade.dto.common.SmallLoanWhiteUsersDTO;

import java.util.List;

/**
 * Created by dell on 2018/4/18.
 * Description：civet-app
 */
public interface LoanBusinessDubboService {

    /**
     * 小易借查询用户白名单
     * @param userId
     * @return
     */
    default SmallLoanWhiteUsersDTO querySmallLoanWhite(String userId){return null;}

    List<LoanBusinessInfoDTO> getProductList();

    /**
     * 根据产品类型查询相关配置
     * @param productType 产品对应枚举
     * @return oanBusinessInfoDTO
     */
    LoanBusinessInfoDTO selectByProductType(Byte productType);

}
